#ifndef BOOKREPOSITORY_H
#define BOOKREPOSITORY_H

#include <book.h>

#include <QVector>

class BookRepository
{
public:
	explicit BookRepository();

	QVector<Book> getList() const;
	void updateList( const QVector<Book> &bookList );
	void updateDataBase();

private:
	void populateRepository();

	QVector<Book> m_bookList;
};

#endif // BOOKREPOSITORY_H
